<form action="/admin/examine/editPurchasingExamineProcessSubmit" data-toggle="ajaxform" data-options="{callback:closeCurrent}">
    <input type="hidden" name="process_id" value="{{$processRow['id']}}">
    <div class="bjui-row">
        <div class="bjui-row">
            <label class="row-label">流程名称</label>
            <div class="row-input">
                <input type="text" name="title" value="{{$processRow['title']}}" placeholder="流程名称">
            </div>
        </div>

        <div class="bjui-row">
            <label class="row-label">审核人</label>
            <div class="row-input">
                <select name="uid">
                    <option value="">请选择</option>
                    @foreach($selectUserList as $userRow)
                        <option value="{{$userRow['uid']}}" @if($userRow['uid'] == $processRow['uid']) selected="selected" @endif>{{$userRow['truename']}}</option>
                    @endforeach
                </select>
            </div>
        </div>
    </div>


    <div class="bjui-pageFooter" style="width:98%">
        <ul>
            <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
            <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
        </ul>
    </div>
</form>


<script>
    function closeCurrent(){
        BJUI.dialog('closeCurrent');
        BJUI.navtab('refresh');
    }
</script>